package com.zhl.spark.core

import org.apache.spark.{SparkConf, SparkContext}

/**
 * @program: demos
 * @description: ${description}
 * @author: 刘振华
 * @create: 2020-12-01 11:19
 **/
class BasicRdd {
    var sc:SparkContext = null
    def test()={

        val conf = new SparkConf().setAppName(getClass().getName()).setMaster("local[*]")
        sc = new SparkContext(conf)

        logic()

        sc.stop()
    }

    def logic()={}


}
